<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>{$title}</title>
<!--                       CSS                       -->
<!-- Reset Stylesheet -->
<link rel="stylesheet" href="/resources/css/reset.css" type="text/css" media="screen" />
<link rel="stylesheet" href="/resources/css/login.css" type="text/css" media="screen" />
<!-- Main Stylesheet -->
<link rel="stylesheet" href="/resources/css/style.css" type="text/css" media="screen" />
<!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
<link rel="stylesheet" href="/resources/css/invalid.css" type="text/css" media="screen" />
<!-- Colour Schemes
		Default colour scheme is green. Uncomment prefered stylesheet to use it.
		<link rel="stylesheet" href="/resources/css/blue.css" type="text/css" media="screen" />
		<link rel="stylesheet" href="/resources/css/red.css" type="text/css" media="screen" />  
		-->
<!-- Internet Explorer Fixes Stylesheet -->
<!--[if lte IE 7]>
			<link rel="stylesheet" href="/resources/css/ie.css" type="text/css" media="screen" />
		<![endif]-->
<!--                       Javascripts                       -->
<!-- jQuery -->
<script type="text/javascript" src="/resources/scripts/jquery-1.3.2.min.js"></script>
<!-- jQuery Configuration -->
<script type="text/javascript" src="/resources/scripts/simpla.jquery.configuration.js"></script>
<!-- Facebox jQuery Plugin -->
<script type="text/javascript" src="/resources/scripts/facebox.js"></script>
<!-- jQuery WYSIWYG Plugin -->
<script type="text/javascript" src="/resources/scripts/jquery.wysiwyg.js"></script>
<!-- jQuery Datepicker Plugin -->
<script type="text/javascript" src="/resources/scripts/jquery.datePicker.js"></script>
<script type="text/javascript" src="/resources/scripts/jquery.date.js"></script>
<script src="/static/js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<script src="/static/js/ajaxform.js" type="text/javascript"></script>
<script src="/static/js/validate.js" type="text/javascript"></script>
<!--[if IE]><script type="text/javascript" src="/resources/scripts/jquery.bgiframe.js"></script><![endif]-->
<!-- Internet Explorer .png-fix -->
<!--[if IE 6]>
	<script type="text/javascript" src="/resources/scripts/DD_belatedPNG_0.0.7a.js"></script>
	<script type="text/javascript">
		DD_belatedPNG.fix('.png_bg, img, li');
	</script>
<![endif]-->
</head>
<body>
<div id="body-wrapper">
	<!-- Wrapper for the radial gradient background -->
	<div id="sidebar">
		<div id="sidebar-wrapper">
			<!-- Sidebar with logo and menu -->
			<h1 id="sidebar-title"><a href="#">Admin</a></h1>

			<!-- Logo (221px wide) -->
			<!-- Sidebar Profile links -->
			<div id="profile-links" style="font-size:14px"><br />
				<br />
				ようこそ <a href="#" title="Edit your profile">{$login_user['family_name']} {$login_user['personal_name']}様</a>,
				<!-- 
				有<span>3</span>个新预约<a href="#messages" rel="modal" title="3 Messages"></a><br />
				 -->
				<br />

				<a href="/logout.php" title="ログアウト">ログアウト</a> </div>
			<ul id="main-nav">
				<!-- Accordion Menu -->
				<!--{if has_oauth($login_user['id'], '/service/index.php') }-->
				<li>
					<a href="/service/index.php" class="nav-top-item no-submenu <!--{if preg_match('#/service/index.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}--> ">
					<!-- Add the class "no-submenu" to menu items with no sub menu -->
					TOP</a>
				</li>
				<!--{/if}--> 

				<!--{if has_oauth($login_user['id'], '/service/serviceTimeSearch.php') }-->
				<li> <a href="/service/serviceTimeSearch.php" class="nav-top-item no-submenu <!--{if preg_match('#/service/serviceTimeSearch.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}--> ">
					<!-- Add the class "current" to current menu item -->
					ServiceTimeSearch </a> </li>
				<!--{/if}--> 
				<!--{if has_oauth($login_user['id'], '/service/shopManage.php') }-->
				<li> <a href="/service/shopManage.php" class="nav-top-item no-submenu <!--{if preg_match('#/service/shopManage#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}--> "> １、ショップ設定 </a> </li>
				<!--{/if}--> 
				<!--{if has_oauth($login_user['id'], '/service/serviceManage.php') }-->
				<li> <a href="/service/serviceManage.php" class="nav-top-item <!--{if preg_match('#/service/serviceManage.php#', $_SERVER['REQUEST_URI']) || preg_match('#/service/deviceManage.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}--> "> ２、サービスと設備設定  </a>
					<ul>
						<li><a href="/service/deviceManage.php" class="<!--{if preg_match('#/service/deviceManage.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}-->" >設備管理</a></li>
						<li><a href="/service/serviceManage.php" class="<!--{if preg_match('#/service/serviceManage.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}-->" >サービス管理</a></li>
					</ul>
				</li>
				<!--{/if}--> 
				<!--{if has_oauth($login_user['id'], '/service/staffManage.php') }-->
				<li> <a href="/service/staffManage.php" class="nav-top-item <!--{if preg_match('#/service/staffManage.php#', $_SERVER['REQUEST_URI']) || preg_match('#/service/staffManageEdit.php#', $_SERVER['REQUEST_URI']) || preg_match('#/service/staffWorkTime.php#', $_SERVER['REQUEST_URI']) || preg_match('#/service/staffUnWorkTime.php#', $_SERVER['REQUEST_URI']) || preg_match('#/service/staffWorkList.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}--> "> ３、スタッフ管理  </a> 
					<ul>
						<li><a href="/service/staffManageEdit.php" class="<!--{if preg_match('#/service/staffManageEdit.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}-->">staff 登録</a></li>
						<li><a href="/service/staffWorkTime.php" class="<!--{if preg_match('#/service/staffWorkTime.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}-->">勤務時間帯登録（スタッフ別）</a></li>
						<li><a href="/service/staffUnWorkTime.php" class="<!--{if preg_match('#/service/staffUnWorkTime.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}-->">臨時休み（スタッフ別）</a></li>
						<li><a href="/service/staffWorkList.php" class="<!--{if preg_match('#/service/staffWorkList.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}-->">スタッフ仕事一覧</a></li>
					</ul>
				</li>
				<!--{/if}--> 
				<!--{if has_oauth($login_user['id'], '/service/bookManage.php') }-->
				<li> <a href="/service/bookManage.php" class="nav-top-item <!--{if preg_match('#/service/bookManage.php#', $_SERVER['REQUEST_URI']) || preg_match('#/service/staffBookManage.php#', $_SERVER['REQUEST_URI']) || preg_match('#/service/bookDelList.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}--> "> ４、予約状態確認</a>
					<ul>
						<li><a href="/service/bookManage.php" class="<!--{if preg_match('#/service/bookManage.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}-->">店の全体予約状態</a></li>
						<li><a href="/service/staffBookManage.php" class="<!--{if preg_match('#/service/staffBookManage.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}-->">スタッフ別予約状態</a></li>
						<li><a href="/service/bookDelList.php" class="<!--{if preg_match('#/service/bookDelList.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}-->">削除予約一覧</a></li>
					</ul>
				</li>
				<!--{/if}--> 
				<!--{if has_oauth($login_user['id'], '/service/vipManage.php') }-->
				<li> <a href="/service/vipManage.php" class="nav-top-item <!--{if preg_match('#/service/vipManage.php#', $_SERVER['REQUEST_URI']) || preg_match('#/service/vipList.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}--> "> ５、会員統計</a> 
					<ul>
						<li><a href="/service/vipManage.php" class="<!--{if preg_match('#/service/vipManage.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}-->">会員別予約回数統計</a></li>
						<li><a href="/service/vipList.php" class="<!--{if preg_match('#/service/vipList.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}-->">会員一覧</a></li>
					</ul>
				</li>
				<!--{/if}--> 
				<!--{if has_oauth($login_user['id'], '/service/accountManage.php') }-->
				<li> <a href="/service/accountManage.php" class="nav-top-item <!--{if preg_match('#/service/accountManage.php#', $_SERVER['REQUEST_URI']) || preg_match('#/service/adminRightList.php#', $_SERVER['REQUEST_URI']) || preg_match('#/service/mailSet.php#', $_SERVER['REQUEST_URI']) || preg_match('#/service/accessHistory.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}--> "> ６、管理権限</a> 
					<ul>
						<li><a href="/service/accountManage.php" class="<!--{if preg_match('#/service/accountManage.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}-->">管理権限登録</a></li>
						<li><a href="/service/adminRightList.php" class="<!--{if preg_match('#/service/adminRightList.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}-->">管理権限一覧</a></li>
						<!-- 
						<li><a href="/service/mailSet.php" class="<!--{if preg_match('#/service/mailSet.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}-->">メール登録</a></li>
						 -->
						<li><a href="/service/accessHistory.php" class="<!--{if preg_match('#/service/accessHistory.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}-->">アクセス履歴</a></li>
					</ul>
				</li>
				<!--{/if}--> 
				
				<!--{if has_oauth($login_user['id'], '/service/dataManage.php') }-->
				<li> <a href="/service/dataManage.php" class="nav-top-item no-submenu <!--{if preg_match('#/service/dataManage.php#', $_SERVER['REQUEST_URI']) || preg_match('#/service/dataManage_statistic.php#', $_SERVER['REQUEST_URI']) || preg_match('#/service/dailyReport.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}--> "> ７、会計統計</a>
					<ul>
						<li><a href="/service/dataManage.php" class="<!--{if preg_match('#/service/dataManage.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}-->">スタッフ別（月勤務統計）</a></li>
						<li><a href="/service/dataManage_statistic.php" class="<!--{if preg_match('#/service/dataManage_statistic.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}-->">データ</a></li>
						<!-- 
						<li><a href="/service/dailyReport.php" class="<!--{if preg_match('#/service/dailyReport.php#', $_SERVER['REQUEST_URI']) }-->current<!--{/if}-->">日報管理</a></li>
						 -->
					</ul> 
				<!--{/if}--> 
				</li>
			</ul>
		</div>
	</div>


<html>